home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <!-- ***** BEGIN LICENSE BLOCK *****
- - Version: MPL 1.1
- -
- - The contents of this file are subject to the Mozilla Public License Version
- - 1.1 (the "License"); you may not use this file except in compliance with
- - the License. You may obtain a copy of the License at
- - http://www.mozilla.org/MPL/
- -
- - Software distributed under the License is distributed on an "AS IS" basis,
- - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- - for the specific language governing rights and limitations under the License.
- -
- - The Original Code is the Autocomplete Manager extension.
- -
- - The Initial Developer of the Original Code is
- - Nikitas Liogkas <nikitas@acm.org>.
- - Portions created by the Initial Developer are Copyright (C) 2007-2008
- - the Initial Developer. All Rights Reserved.
- -
- - Contributor(s):
- - Version 2.3
- -
- - ***** END LICENSE BLOCK ***** -->
-
- <bindings xmlns="http://www.mozilla.org/xbl"
- xmlns:xbl="http://www.mozilla.org/xbl"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- xmlns:html="http://www.w3.org/1999/xhtml">
-
- <binding id="acm_popup" extends="chrome://global/content/bindings/popup.xml#popup">
- <resources>
- <stylesheet src="chrome://global/skin/tree.css"/>
- <!-- include this here and not in the browser overlay, to avoid affecting other
- unsuspected elements, e.g., the search textbox -->
- <stylesheet src="chrome://global/skin/autocomplete.css"/>
- </resources>
-
- <content>
- <!-- remove arrowscrollbox, and add custom tree;
- if you change the column ids, also change the code in acm_treePopupView::getCellProperties();
- also, if you change the order of the tree columns, also change the code in acm_buildPopup() -->
- <xul:tree anonid="tree" class="plain" hidecolumnpicker="true" flex="1">
- <xul:treecols>
- <xul:treecol id="colURL" class="autocomplete-treecol" hideheader="true"/>
- <xul:treecol id="coltitle" class="autocomplete-treecol" hideheader="true"/>
- <xul:treecol id="colsource" class="autocomplete-treecol" hideheader="true"/>
- </xul:treecols>
- <xul:treechildren class="autocomplete-treebody"/>
- </xul:tree>
- </content>
-
- <!-- to avoid exception thrown when clicking on a suggestion -->
- <implementation>
- <method name="onPopupClick">
- <parameter name="aEvent"/>
- <body><![CDATA[
- ]]></body>
- </method>
- </implementation>
- </binding>
-
- </bindings>
-